﻿@{
    ViewBag.Title = "部门管理";
}

@section header
{
    <script type="text/javascript">
        $(function () {
            $(".treetable").treetable("expandAll");
        });
    </script>
}
<div class="actionbar">
    @if (Cando("DepartmentManage.Add"))
    {
        @Html.DialogButton(Url.Action("Create"),"添加新部门","add","{intent:'create',width:'50%',height:'50%'}")
    }
</div>
@Html.Action("List")